home *** CD-ROM | disk | FTP | other *** search
- ;==============================================================================================
- ; Connection Manager install script Win95/NT
- ;==============================================================================================
-
- [version]
- signature="$CHICAGO$"
- AdvancedINF=2.5, "%ERROR_WRONG_ADVPACK_VERSION%"
-
- [DefaultInstall]
- SmartReboot= N
- CustomDestination= CustInstDestSection
- CopyFiles=CopyINF, CopyCM, CopyHELP, CopySYS
- AddReg=CM.RegEntries
- ; This is the uninstall.
- ; ----------------------
-
- [Uninstall]
- Cleanup=1
- CustomDestination = CustInstDestSection
- DelFiles = Remove.DelFiles, Remove.DelFiles.System, Remove.DelFiles.help
- DelDirs=CleanDir
-
- [CleanDir]
- "%49301%"
-
- ; -------------------------------------------------------
- ; These are the files which are deleted during uninstall.
- ; -------------------------------------------------------
- [Remove.DelFiles]
- cmmgr32.exe
- cmpbk32.dll
- cmdial32.dll
- cmdl32.exe
- cmstats.dll
- mbslgn32.dll
-
- [Remove.DelFiles.System]
- cmcfg32.dll
- showicon.exe
-
- [Remove.DelFiles.help]
- cmmgr32.hlp
-
- ;==============================================================================================
- ; These are the directory specifications.
- ;==============================================================================================
- [CustInstDestSection]
- 49000,49001,49002,49003= ProgramFilesDir,5
- 49100,49101,49102,49103= IEFilesDir,7
- 49200,49201,49202,49203= CMFilesDir,5
- 49300,49301,49302,49303 = IConnMgrLDIDSection, 5
-
- [IConnMgrLDIDSection]
- "HKLM", "", "", "", "%49101%\%CMDIR%"
-
- [ProgramFilesDir]
- HKLM,"%KEY_PROGRAM_FILES%",'ProgramFilesDir',,"%24%"
-
- [IEFilesDir]
- HKLM,"%KEY_IEDIR%","Path","%IE_REQUIRED%","%49001%\%IEDIR%"
-
- [CMFilesDir]
- HKLM,"%AppPath%","Path",,"%49101%\%CMDIR%"
-
- [DestinationDirs]
- CopyHELP = 18 ; LDID_HELP
- CopyINF = 17 ; LDID_INF
- CopySYS = 11 ; LDID_SYS
- CopyCM = 49200
- Remove.DelFiles = 49300
- Remove.DelFiles.System = 11
- Remove.DelFiles.help = 18
- Remove.DelFiles.inf = 17
-
- ;==============================================================================================
- ; These are the File Copy sections.
- ;==============================================================================================
- [CopySYS]
- cmcfg32.dll
- showicon.exe
- ; ---------------------------------------------------------------------------------------------
- ; These are the files copied as part of the default install. They are put in:
- ; <User Install Directory>\Internet Explorer\Connection Manager
- ; ---------------------------------------------------------------------------------------------
- [CopyCM]
- cmmgr32.exe
- cmpbk32.dll
- cmdial32.dll
- cmdl32.exe
- cmstats.dll
- mbslgn32.dll
- ; ---------------------------------------------------------------------------------------------
- ; These are the files copied as part of the default install. They are put in C:\Windows\INF
- ; ---------------------------------------------------------------------------------------------
- [CopyINF]
- cm95.INF
- ; ---------------------------------------------------------------------------------------------
- ; These are the files copied as part of the default install. They are put in C:\Windows\Help
- ; ---------------------------------------------------------------------------------------------
- [CopyHELP]
- cmmgr32.hlp
-
- ;==============================================================================================
- ; These are the Source sections which tell the setup engine where the appropriate files are.
- ;==============================================================================================
- [SourceDisksNames]
- 55="%CMNAME%",cm95.cab,0
-
- [SourceDisksFiles]
- cmmgr32.exe = 55
- cmmgr32.hlp = 55
- cmpbk32.dll = 55
- cmdial32.dll = 55
- cmdl32.exe = 55
- cmstats.dll = 55
- mbslgn32.dll = 55
- cm95.inf = 55
- cmcfg32.dll = 55
- showicon.exe = 55
-
- ;==============================================================================================
- ; These are the Registry ADD sections.
- ;==============================================================================================
- ; ---------------------------------------------------------------------------------------------
- ; These are the registry entries for installation.
- [CM.RegEntries]
- "HKLM", "%AppPath%", "", "", "%49201%\CMMGR32.EXE"
- "HKLM", "%AppPath%", "Path", "", "%49201%"
- "HKCR", ".cmp", "", "", "%AppName%"
- "HKCR", ".pbk", "", "", "%PhoneName%"
- "HKCR", ".pbr", "", "", "%RegionName%"
- "HKCR", "%RegionName%", "", "", "%RegionName%"
- "HKCR", "%PhoneName%", "", "", "%PhoneName%"
- "HKCR", "%AppName%", "", "", "%AppName%"
- "HKCR", "%AppName%\DefaultIcon", "", "", "%49201%\CMMGR32.EXE,1"
- "HKCR", "%AppName%\shell\open\command", "", "", "%49201%\CMMGR32.EXE ""%1"""
- "HKCR", "%AppName%\shell\Settings...\command", "", "", "%49201%\CMMGR32.EXE /settings ""%1"""
- "HKLM", "Software\Microsoft\Windows\CurrentVersion\Uninstall\CM","QuietUninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\cm95.inf,Uninstall,,256"
- "HKLM", "Software\Microsoft\Windows\CurrentVersion\Uninstall\CM","RequiresIESysFile",,"4.71"
-
- [Strings]
- ;==============================================================================================
- ; Important - Be sure to place any localizable strings
- ; below the "Localization Border" Comment
- ;==============================================================================================
- KEY_CM = "SOFTWARE\Microsoft\Connection Manager"
- KEY_IEDIR = "SOFTWARE\Microsoft\IE4\Setup"
- KEY_PROGRAM_FILES = "SOFTWARE\Microsoft\Windows\CurrentVersion"
- CMNAME = "Connection Manager"
- AppPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\CMMGR32.EXE"
-
- ;==============================================================================================
- ; Localization Border
- ;
- ; No Strings above this line should be localized
- ; All strings below this line should be localized
- ;==============================================================================================
- ProgramFiles = "Program Files"
- IEDIR = "Internet Explorer"
- CMDIR = "Connection Manager"
-
- ;Error Messages
- ERROR_ENGINE_NOTFOUND = "Cannot find the requried setup engine. Aborting..."
- ERROR_WRONG_ADVPACK_VERSION = "You need a newer version of Advpack.dll"
- IE_REQUIRED = "You must have Internet Explorer v4.0 installed to run this package!"
-
- AppName = "Connection Manager Profile"
- AppTitle = "Connection Manager"
- PhoneName = "Phone Book"
- RegionName = "Region File"
-